package mobi.bantu.service;

import java.util.Map;

import mobi.bantu.bean.Page;
import mobi.bantu.bean.SecUser;

/**
 * Created by qiao on 2017/5/3.
 */
public interface SecUserService {
    Page<SecUser> page(Map<String, Object> param);

    SecUser getByname(String username);

    int delete(Long id);

    int save(SecUser user);

    SecUser getById(Long id);

    int update(SecUser user);
}
